Skip to content

Conversation

@ronag
Copy link
Member

@ronag ronag commented Oct 27, 2025

A faster alternative to Readable.read for certain use cases.

e.g.

fs.writevSync(fd, readable.readv())

@ronag ronag requested a review from mcollina October 27, 2025 17:04
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/streams

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. stream Issues and PRs related to the stream subsystem. labels Oct 27, 2025
@ronag ronag force-pushed the readable-readv branch 4 times, most recently from ff3f472 to 78c9094 Compare October 27, 2025 18:59
@ronag
Copy link
Member Author

ronag commented Oct 27, 2025

a little sad about allocating the arrays...

@ronag ronag force-pushed the readable-readv branch 7 times, most recently from 9c9c408 to db17b9f Compare October 27, 2025 19:10
A faster alternative to Readable.read for certain use cases.

e.g.

fs.writevSync(fd, readable.readv())
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs tests

@ronag ronag closed this Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. stream Issues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants